package cn.yfxu.server.service;

import cn.yfxu.server.pojo.Department;
import cn.yfxu.server.pojo.Result;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yfxu
 * @since 2021-03-10
 */
public interface IDepartmentService extends IService<Department> {

    List<Department> getAllDepartments();

    Result addDep(Department department);

    Result delDep(Integer id);
}
